//
//  NRWSellCarListModel.m
//  NRWMall
//
//  Created by 张记 on 2018/6/12.
//  Copyright © 2018年 com.anpxd. All rights reserved.
//

#import "NRWSellCarListModel.h"

@implementation NRWSellCarListModel

+ (NSDictionary *)mj_objectClassInArray {
    
    return @{@"result": @"carListModel"};
}
@end

@implementation carListModel
-(NSString *)sellCarMileageStr{
    
    if (self.sellCarMileage  <= 0) {
        _sellCarMileageStr = @"未输入里程";
    }else{
        if (self.sellCarMileage < 0.1) {
            _sellCarMileageStr = [NSString stringWithFormat:@"%.f公里", self.sellCarMileage *10000];
        }else{
            _sellCarMileageStr = [NSString stringWithFormat:@"%.2f万公里",self.sellCarMileage];
        }
    }
    return _sellCarMileageStr;
}

@end

@implementation userModel

@end
